package com.qf.beanscope;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.annotation.Resources;

@Service
public class UserService {

    @Autowired
//    @Qualifier(value = "userDaoImpl1")
//    @Resource(name = "userDaoImpl1")
    public UserDao useDao;

    public void test(){
        useDao.test();
    }
}
